package ve.usb.crm.hibernate;



public class FacturaCatalogo implements java.io.Serializable, ve.usb.cohesion.runtime.Auditable {

    /** Creates a new instance of FacturaCatalogo */
    public FacturaCatalogo() {}
    
    /**
     * Holds value of property id.
     */
    private Long id;

    /**
     * Getter for property id.
     * @return Value of property id.
     */
    public Long getId() {
        return this.id;
    }

    /**
     * Holds value of property idFacturaCatalogo.
     */
    private long idFacturaCatalogo;

    /**
     * Getter for property idFacturaCatalogo.
     * @return Value of property idFacturaCatalogo.
     */
    public long getIdFacturaCatalogo() {
        return this.idFacturaCatalogo;
    }

    /**
     * Setter for property idFacturaCatalogo.
     * @param idFacturaCatalogo New value of property idFacturaCatalogo.
     */
    public void setIdFacturaCatalogo(long idFacturaCatalogo) {
        this.id = this.idFacturaCatalogo = idFacturaCatalogo;
    }

    /**
     * Holds value of property idFactura.
     */
    private Factura idFactura;

    /**
     * Getter for property idFactura.
     * @return Value of property idFactura.
     */
    public Factura getIdFactura() {
        return this.idFactura;
    }

    /**
     * Setter for property idFactura.
     * @param idFactura New value of property idFactura.
     */
    public void setIdFactura(Factura idFactura) {
        this.idFactura = idFactura;
    }
    /**
     * Holds value of property idCatalogo.
     */
    private Catalogo idCatalogo;

    /**
     * Getter for property idCatalogo.
     * @return Value of property idCatalogo.
     */
    public Catalogo getIdCatalogo() {
        return this.idCatalogo;
    }

    /**
     * Setter for property idCatalogo.
     * @param idCatalogo New value of property idCatalogo.
     */
    public void setIdCatalogo(Catalogo idCatalogo) {
        this.idCatalogo = idCatalogo;
    }
    /**
     * Holds value of property cantidad.
     */
    private int cantidad;

    /**
     * Getter for property cantidad.
     * @return Value of property cantidad.
     */
    public int getCantidad() {
        return this.cantidad;
    }

    /**
     * Setter for property cantidad.
     * @param cantidad New value of property cantidad.
     */
    public void setCantidad(int cantidad) {
        this.cantidad = cantidad;
    }




    public String toString() {
        return "<FacturaCatalogo id='C" + this.id +
      //idFacturaCatalogo
        ((idFactura==null) ? "" : "\" idFactura =\"C" + idFactura.getId()) +

        ((idCatalogo==null) ? "" : "\" idCatalogo =\"C" + idCatalogo.getId()) +

      "\" cantidad =\"" + cantidad +

        "'/>";
    }

}